//"out":"./css/style.css"
@startUrl: "../img/";
@mainUrl: "../img/";
@font-face {
    font-family: HYChengXingJ;
    src: url('../font/HYChengXingJ.ttf');
    /* IE9+ */
}
@font-face {
    font-family: HYJinChangTiJ;
    src: url('../font/HYJinChangTiJ.ttf');
    /* IE9+ */
}

.clear::after {
    content: '';
    display: table;
    clear: both;
}

.HYChengXingJ {
    font-family: HYChengXingJ;
}

.HYJinChangTiJ {
    font-family: HYJinChangTiJ;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
    font-family: "microsoft yahei",simhei;
}

.game-start {
    margin-top: -1px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url("@{startUrl}main-bg.png") no-repeat;
    background-size: 100% 100%;

    header {
        width: 100%;
        text-align: right;
        margin-top: 0.05rem;

        a {
            color: #3e3e3e;
            font-size: 0.24rem;
            border-bottom: 1px solid #3e3e3e;
            padding-bottom: 1px;
            margin-right: 0.35rem;
        }
    }

    .game-chance {
        position: relative;
        top: 36vh;

        .btn-group {
            p {
                text-align: center;

                a {
                    display: inline-block;
                    width: 2.9rem;
                    height: 0.87rem;
                    color: #fff;
                    background: url("@{startUrl}sprite.png") no-repeat -.3rem -.47rem;
                    background-size: 6.4rem 7.74rem;
                    font-size: 0.34rem;
                    line-height: 0.87rem;
                }
            }
        }
    }
}

.game-main {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url("@{mainUrl}game-bg.png") no-repeat;
    background-size: 100% 100%;

    header {
        width: 100%;
        margin-top: 0.05rem;
        overflow: hidden;

        a:first-child {
            display: inline-block;
            float: left;
            margin-left: 0.2rem;
            margin-top: 0.15rem;
            width: 1.22rem;
            height: 0.67rem;
            background: url("@{mainUrl}sprite.png") no-repeat -.3rem -1.5rem;
            background-size: 6.4rem 7.74rem;
        }

        a:last-child {
            float: right;
            color: #3e3e3e;
            font-size: 0.24rem;
            display: inline-block;
            border-bottom: 1px solid #3e3e3e;
            padding-bottom: 1px;
            margin-right: 0.27rem;
            margin-top: 0.5rem;
        }
    }

    nav {
        text-align: center;
        font-size: 0.4rem;
    }

    .intro {
        text-align: center;
        font-size: 0.22rem;
    }

    .word_check {
        margin: 0.45rem 0 0.25rem;
        text-align: center;

        li:not(:first-child) {
            margin-left: 0.1rem;
        }

        li {
            display: inline-block;
            width: 0.8rem;
            height: 0.8rem;
            background: url("@{startUrl}sprite.png") no-repeat -.38rem -4.4rem;
            background-size: 6.4rem 7.74rem;

            a {
                float: left;
                width: 100%;
                height: 100%;
                font-size: 0.42rem;
                line-height: 0.8rem;
            }
        }
    }

    .word-container {
        margin-top: 0.4rem;
        text-align: center;
        line-height: 1.16rem;

        li {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            margin: 0 0.2rem;
            background: url("@{startUrl}sprite.png") no-repeat -1.4rem -4.35rem;
            background-size: 6.4rem 7.74rem;

            a {
                float: left;
                width: 100%;
                height: 100%;
                font-size: 0.42rem;
                line-height: 1rem;
            }
        }
    }

    .btn-group {
        text-align: center;

        a {
            display: inline-block;
            width: 2.05rem;
            height: 0.8rem;
            color: #fff;
            font-size: 0.36rem;
            text-align: center;
            line-height: 0.77rem;
            margin: 0 0.34rem;
        }

        a:first-child {
            background: url("@{startUrl}sprite.png") no-repeat -.3rem -2.4rem;
            background-size: 6.4rem 7.74rem;
        }

        a:last-child {
            background: url("@{startUrl}sprite.png") no-repeat -.3rem -3.37rem;
            background-size: 6.4rem 7.74rem;
        }
    }
}

.game-price {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url("@{mainUrl}game-bg.png") no-repeat;
    background-size: 100% 100%;

    header {
        width: 100%;
        margin-top: 0.05rem;
        overflow: hidden;

        a:first-child {
            display: inline-block;
            float: left;
            margin-left: 0.2rem;
            margin-top: 0.15rem;
            width: 1.22rem;
            height: 0.67rem;
            background: url("@{mainUrl}sprite.png") no-repeat -.3rem -1.5rem;
            background-size: 6.4rem 7.74rem;
        }
    }

    .price-title {
        text-align: center;
        font-size: 0.24rem;

        .price-title {
            margin: 0.3rem auto;
            font-size: 0.4rem;
        }

        .price-intro {
            text-decoration: underline;
        }

        span {}
    }

    .price-container {
        margin: 0 auto;

        .price-img {
            margin: 0.4rem auto 0;
            text-align: center;
            width: 3.6rem;
            height: 2.45rem;
            background: #c2c2c2;
            line-height: 3.96rem;

            img {
                display: inline-block;
                width: 2.45rem;
                height: 2.45rem;
                background: #fff;
            }
        }

        .price-name {
            margin-top: 0.4rem;
            text-align: center;
            font-size: 0.3rem;
        }
    }

    .game-chance {
        .btn-group {
            p {
                text-align: center;

                a {
                    color: #fff;
                    display: inline-block;
                    width: 2.9rem;
                    height: 0.87rem;
                    background: url("@{startUrl}sprite.png") no-repeat -.3rem -.47rem;
                    background-size: 6.4rem 7.74rem;
                    font-size: 0.34rem;
                    line-height: 0.87rem;
                }
            }
        }
    }

    .ad {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1.1rem;
        border-bottom: 0;
        background: #fddc83;

        span {
            padding: 0.05rem;
            color: #fff;
            font-size: 0.24rem;
            position: absolute;
            right: 0;
        }

        div {
            text-align: center;
            width: 100%;
            height: 100%;
            line-height: 0.8rem;

            a {
                font-size: 0.24rem;
            }
        }
    }
}

.pop-up-window {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(40,40,40,.3);
    z-index: 99;

    .pop-panel {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;

        .b-window {
            display: none;
            background: url("@{mainUrl}panel.png") no-repeat -.22rem -4.09rem;
            background-size: 6.4rem 11.36rem;
        }

        .u-window {
            display: none;
            background: url("@{mainUrl}panel.png") no-repeat -.25rem -.33rem;
            background-size: 6.4rem 11.36rem;
        }

        .l-window {
            display: none;
            background: url("@{mainUrl}panel.png") no-repeat -.25rem -7.85rem;
            background-size: 6.4rem 11.36rem;
        }

        .price-container {
            display: none;
        }

        .pop-container {
            z-index: 999;
            width: 5.86rem;
            height: 3.65rem;

            .pop-nav {
                text-align: right;
                overflow: hidden;

                .close {
                    float: right;
                    margin: 0.22rem 0.28rem 0 0;
                    width: 0.45rem;
                    height: 0.45rem;
                    background: url("@{mainUrl}sprite.png") no-repeat -1.77rem -1.63rem;
                    background-size: 6.4rem 7.74rem;
                }
            }

            .l-msg {
                margin-top: 0.56rem;
            }

            .u-msg {
                margin-top: 0.9rem;
            }

            .b-msg {
                margin-top: 0.56rem;
            }

            .pop-msg {
                text-align: center;
                font-size: 0.24rem;

                .pop-title {
                    margin-bottom: 0.22rem;
                    font-size: 0.24rem;
                    line-height: 0.34rem;
                    font-weight: bold;

                    ul {
                        margin-left: 0.87rem;

                        li {
                            b {
                                color: #e4393c;
                            }
                        }
                    }
                }

                .l-pop-btn {
                    text-align: center;

                    a {
                        display: inline-block;
                        width: 2.24rem;
                        height: 0.77rem;
                        background: url('@{mainUrl}sprite.png') no-repeat -3.7rem -1.77rem;
                        background-size: 6.4rem 7.74rem;
                    }
                }

                .u-pop-btn {
                    text-align: center;

                    a {
                        display: inline-block;
                        width: 2.24rem;
                        height: 0.77rem;
                        background: url('@{mainUrl}sprite.png') no-repeat -3.7rem -.05rem;
                        background-size: 6.4rem 7.74rem;
                    }
                }

                .b-pop-btn {
                    text-align: center;

                    a {
                        display: inline-block;
                        width: 2.24rem;
                        height: 0.77rem;
                        background: url('@{mainUrl}sprite.png') no-repeat -3.7rem -.09rem;
                        background-size: 6.4rem 7.74rem;
                    }
                }

                .wechat {
                    margin-top: 0.15rem;
                    text-align: center;

                    img {
                        display: inline-block;
                        width: 1.95rem;
                        height: 1.95rem;
                        background: #333;
                    }
                }
            }
        }

        .common-window {
            display: none;
            height: 4.12rem;
            background: url("@{mainUrl}dialog-bg.png") no-repeat;
            background-size: 100% 100%;
        }

        .real-window {
            display: none;
            height: 5.12rem;
            background: url("@{mainUrl}dialog-bg.png") no-repeat;
            background-size: 100% 100%;

            form {
                ul {
                    margin: 0 auto;

                    li {
                        margin-top: 0.13rem;

                        label {
                            text-align: right;
                            display: inline-block;
                            width: 1.4rem;
                        }

                        input {
                            padding: 0.1rem;
                            width: 3rem;
                            background: #dadada;
                        }
                    }
                }
            }

            .pop-footer {
                text-align: center;
                margin-top: 0.4rem;

                a {
                    display: inline-block;
                    width: 1.57rem;
                    height: 0.77rem;
                    background: url('@{mainUrl}sprite.png') no-repeat -3.8rem -2.65rem;
                    background-size: 6.4rem 7.74rem;
                }
            }
        }

        .flow-window {
            display: none;
            height: 4.12rem;
            background: url("@{mainUrl}dialog-bg.png") no-repeat;
            background-size: 100% 100%;

            .pop-msg {
                .pop-title {
                    b {
                        font-weight: bold;
                    }

                    a {
                        text-decoration: underline;
                        color: #4f64cc;
                    }
                }

                .pop-info {
                    font-size: 0.24rem;
                    line-height: 0.34rem;
                }
            }

            .pop-footer {
                text-align: center;

                a {
                    display: inline-block;
                    width: 2.24rem;
                    height: 0.77rem;
                    background: url('@{mainUrl}sprite.png') no-repeat -3.7rem -.05rem;
                    background-size: 6.4rem 7.74rem;
                }
            }
        }
    }
}

.game-ruler {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(40,40,40,.3);
    z-index: 999;

    .game-panel {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;

        .game-container {
            width: 4.63rem;
            height: 7.16rem;
            background: url("@{mainUrl}dialog-bg.png") no-repeat;
            background-size: 6.4rem 7.74rem;
            border-radius: 0.1rem;

            .game-nav {
                text-align: right;
                overflow: hidden;

                .close {
                    float: right;
                    margin: 0.22rem 0.28rem 0 0;
                    width: 0.45rem;
                    height: 0.45rem;
                    background: url("@{mainUrl}sprite.png") no-repeat -1.77rem -1.63rem;
                    background-size: 6.4rem 7.74rem;
                }
            }

            .ruler-msg {
                text-align: left;
                margin: 0 0.36rem;

                h3:first-child {
                    margin-top: 0;
                }

                h3 {
                    font-size: 0.26rem;
                    margin-top: 0.6rem;
                }

                p {
                    margin-top: 0.16rem;
                    line-height: 0.34rem;
                    font-size: 0.24rem;
                }
            }
        }
    }
}
